package pagination;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

//分页bean豆
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public class PageBean<T> {
        private int currentPage;//当前是第几页
        private int pageSize;//分页大小
        private int totalPage;//总页数
        private int totalCount;//总数量条数
        private List<T> data;
    }
